package com.terry.test2.new2;

import com.terry.test2.dp.Account;
import com.terry.test2.dp.AccountId;
import com.terry.test2.dp.AccountNumber;
import com.terry.test2.dp.UserId;

/**
 * @author 小八
 * @date 2023年02月01日15:29
 */
public interface AccountRepository {
    Account find(AccountId id);
    Account find(AccountNumber accountNumber);
    Account find(UserId userId);
    Account save(Account account);
}
